package com.chenjh.soft.model;

import org.hibernate.validator.constraints.NotEmpty;

public class Account {
	@NotEmpty
	private String name;
	
	private Integer age;
	
	private String birthday;
	
	private int sex;

	public String getName() {
		return name;
	}

	public int getAge() {
		return age;
	}

	public String getBirthday() {
		return birthday;
	}

	public int getSex() {
		return sex;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}
	
	public String toString() {
		return this.name + "," + this.age + "," + this.birthday + "," + this.sex;
	}
}
